home *** CD-ROM | disk | FTP | other *** search
- /* Underlay-Helper.c generated from Underlay-Helper.psw
- by unix pswrap V1.009 Wed Apr 19 17:50:24 PDT 1989
- */
-
- #include <dpsclient/dpsfriends.h>
- #include <string.h>
-
- #line 1 "Underlay-Helper.psw"
- #line 10 "Underlay-Helper.c"
- void print_name(char *nm)
- {
- typedef struct {
- unsigned char tokenType;
- unsigned char sizeFlag;
- unsigned short topLevelCount;
- unsigned long nBytes;
-
- DPSBinObjGeneric obj0;
- DPSBinObjGeneric obj1;
- DPSBinObjGeneric obj2;
- DPSBinObjGeneric obj3;
- DPSBinObjGeneric obj4;
- DPSBinObjGeneric obj5;
- DPSBinObjGeneric obj6;
- DPSBinObjGeneric obj7;
- DPSBinObjGeneric obj8;
- DPSBinObjGeneric obj9;
- DPSBinObjGeneric obj10;
- DPSBinObjGeneric obj11;
- } _dpsQ;
- static const _dpsQ _dpsStat = {
- DPS_DEF_TOKENTYPE, 0, 12, 104,
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
- {DPS_LITERAL|DPS_INT, 0, 0, 40},
- {DPS_LITERAL|DPS_INT, 0, 0, 40},
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */
- {DPS_LITERAL|DPS_NAME, 0, DPSSYSNAME, 204}, /* Helvetica-Bold */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 67}, /* findfont */
- {DPS_LITERAL|DPS_INT, 0, 0, 18},
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 140}, /* scalefont */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 149}, /* setfont */
- {DPS_LITERAL|DPS_STRING, 0, 0, 96}, /* param nm */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 160}, /* show */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
- }; /* _dpsQ */
- _dpsQ _dpsF; /* local copy */
- register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
- register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
- register int _dps_offset = 96;
- _dpsF = _dpsStat; /* assign automatic variable */
-
- _dpsP[9].length = strlen(nm);
- _dpsP[9].val.stringVal = _dps_offset;
- _dps_offset += (_dpsP[9].length + 3) & ~3;
-
- _dpsF.nBytes = _dps_offset+8;
- DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,104);
- DPSWriteStringChars(_dpsCurCtxt, (char *)nm, _dpsP[9].length);
- DPSWriteStringChars(_dpsCurCtxt, (char *)_dpsCurCtxt, ~(_dpsP[9].length + 3) & 3);
- }
- #line 8 "Underlay-Helper.psw"
-
-